﻿<%@ Page Language="C#" MasterPageFile="~/MasterPageAdmin.master" AutoEventWireup="true" CodeFile="QL_Banner.aspx.cs" Inherits="QL_Banner" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .style5
    {
    }
    .style6
    {
        width: 234px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table cellpadding="2" class="style4" style="width: 100%">
        <tr>
            <td class="style5" align="center" colspan="2" 
                style="height: 28px; background-color: #4F95FF; color: #FFFFFF; font-size: 16px; width: 758px;">
                Quản lý banner</td>
        </tr>
        <tr>
            <td class="style6">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td align="right" class="style6">
                ID</td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" class="style6">
                Hinh</td>
            <td>
                <asp:FileUpload ID="FileUpload1" runat="server" />
&nbsp;<asp:Button ID="btbhinh" runat="server" onclick="btbhinh_Click" Text="Up Hình" />
&nbsp;<asp:Label ID="lblhinh" runat="server"></asp:Label></td>
        </tr>
        <tr>
            <td align="right" class="style6">
                &nbsp;</td>
            <td>
                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" class="style6">
                &nbsp;</td>
            <td>
                <asp:Button ID="btbthem" runat="server" onclick="btbthem_Click" Text="Thêm" />
&nbsp;
                <asp:Button ID="btnsua" runat="server" Text="Sửa" onclick="btnsua_Click" />
&nbsp; <asp:Button ID="btnxoa" runat="server" Text="Xóa" onclick="btnxoa_Click" />
            &nbsp;
                <asp:Button ID="btnluu" runat="server" onclick="btnluu_Click" Text="Lưu" />
&nbsp;
                <asp:Button ID="btnkluu" runat="server" onclick="btnkluu_Click" 
                    Text="Không lưu" />
            </td>
        </tr>
        <tr>
            <td align="right" class="style6">
                &nbsp;</td>
            <td>
                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                    AutoGenerateColumns="False" onpageindexchanging="GridView1_PageIndexChanging" 
                    onselectedindexchanged="GridView1_SelectedIndexChanged" Width="312px">
                    <PagerSettings PageButtonCount="9" />
                    <Columns>
                        <asp:BoundField DataField="ID" HeaderText="ID BANNER" />
                        <asp:BoundField DataField="HINH" HeaderText="ẢNH BANNER" />
                        <asp:CommandField SelectText="Chọn dòng" ShowSelectButton="True" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td align="right" class="style6">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td align="right" class="style6">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

